import http from "wechat-http";

// 1. 设置全局默认请求基地址
http.baseURL = 'https://live-api.itheima.net'

// 2. 设置响应拦截器
http.intercept.response = (res) => {
  return res.data
}

// 3. 导出
export default http